package com.nec.recommend.module.weapp.dto;

import lombok.Data;

@Data
public class WeappRecommendDTO {
    private String receivedName;
    private String recommendTime;
    private Integer status;
    private String statusStr;

    public String getStatusStr() {
        switch (this.status) {
            case 1:
                this.statusStr = "推荐成功";
                break;
            case 2:
                this.statusStr = "待提交信息";
                break;
            default:
                this.statusStr = "未知状态";
        }
        return this.statusStr;
    }
}
